package net.aizhuoyue.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
@RequestMapping("/freemarker")
public class HelloWordController {
	 @RequestMapping("/hello")
     public ModelAndView HelloSyso(){
		 ModelAndView view=new ModelAndView();
		 view.addObject("message", "SpringBoot第一个程序！");
		 view.setViewName("dasong");
		return view;
    	 
     }
}
